Package | nhsd.assets.stu3 |
Type | StructureDefinition |
Id | Id |
FHIR Version | R3 |
Source | https://simplifier.net/resolve?scope=nhsd.assets.stu3@1.7.0&canonical=https://fhir.nhs.uk/STU3/StructureDefinition/eRS-CreateReferral-Parameters-1 |
Url | https://fhir.nhs.uk/STU3/StructureDefinition/eRS-CreateReferral-Parameters-1 |
Version | 1.0.0 |
Status | draft |
Date | 2019-01-09T11:37:03.008+00:00 |
Name | eRS-CreateReferral-Parameters-1 |
Experimental | False |
Authority | hl7 |
Description | Create Referral |
Copyright | Copyright © 2017 NHS Digital |
Type | Parameters |
Kind | resource |
No resources found
No resources found
{
"resourceType" : "StructureDefinition",
"url" : "https://fhir.nhs.uk/STU3/StructureDefinition/eRS-CreateReferral-Parameters-1",
"version" : "1.0.0",
"name" : "eRS-CreateReferral-Parameters-1",
"status" : "draft",
"date" : "2019-01-09T11:37:03.008+00:00",
"publisher" : "NHS Digital",
"contact" : [
{
"name" : "Interoperability Team",
"telecom" : [
{
"system" : "email",
"value" : "interoperabilityteam@nhs.net",
"use" : "work"
}
]
}
],
"description" : "Create Referral",
"copyright" : "Copyright © 2017 NHS Digital",
"fhirVersion" : "3.0.1",
"kind" : "resource",
"abstract" : false,
"type" : "Parameters",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Parameters",
"derivation" : "constraint",
"snapshot" : {
"element" : [
{
"id" : "Parameters",
"path" : "Parameters",
"short" : "Operation Request or Response",
"definition" : "Create Referral endpoint parameters.",
"comment" : "The parameters that may be used are defined by the OperationDefinition resource.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Resource",
"min" : 0,
"max" : "*"
},
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
},
{
"identity" : "v2",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "w5",
"map" : "infrastructure.exchange"
}
]
},
{
"id" : "Parameters.id",
"path" : "Parameters.id",
"short" : "Logical id of this artifact",
"definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
"comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "id"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.meta",
"path" : "Parameters.meta",
"short" : "Metadata about the resource",
"definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.meta",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Meta"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.implicitRules",
"path" : "Parameters.implicitRules",
"short" : "A set of rules under which this content was created",
"definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
"comment" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.implicitRules",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "uri"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.language",
"path" : "Parameters.language",
"short" : "Language of the resource content",
"definition" : "The base language in which the resource is written.",
"comment" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.language",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "code"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/all-languages"
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "Language"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean" : true
}
],
"strength" : "extensible",
"description" : "A human language.",
"valueSetReference" : {
"reference" : "http://hl7.org/fhir/ValueSet/languages"
}
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter",
"path" : "Parameters.parameter",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "name"
}
],
"rules" : "closed"
},
"short" : "Operation Parameter",
"definition" : "A parameter passed to or received from the operation.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Parameters.parameter",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "inv-1",
"severity" : "error",
"human" : "A parameter must have only one of (value, resource, part)",
"expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter.id",
"path" : "Parameters.parameter.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter.extension",
"path" : "Parameters.parameter.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional Content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter.modifierExtension",
"path" : "Parameters.parameter.modifierExtension",
"short" : "Extensions that cannot be ignored",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter.name",
"path" : "Parameters.parameter.name",
"short" : "Name from the definition",
"definition" : "The name of the parameter (reference to the operation definition).",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.name",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter.value[x]",
"path" : "Parameters.parameter.value[x]",
"short" : "If parameter is a data type",
"definition" : "If the parameter is a data type.",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "base64Binary"
},
{
"code" : "boolean"
},
{
"code" : "code"
},
{
"code" : "date"
},
{
"code" : "dateTime"
},
{
"code" : "decimal"
},
{
"code" : "id"
},
{
"code" : "instant"
},
{
"code" : "integer"
},
{
"code" : "markdown"
},
{
"code" : "oid"
},
{
"code" : "positiveInt"
},
{
"code" : "string"
},
{
"code" : "time"
},
{
"code" : "unsignedInt"
},
{
"code" : "uri"
},
{
"code" : "Address"
},
{
"code" : "Age"
},
{
"code" : "Annotation"
},
{
"code" : "Attachment"
},
{
"code" : "CodeableConcept"
},
{
"code" : "Coding"
},
{
"code" : "ContactPoint"
},
{
"code" : "Count"
},
{
"code" : "Distance"
},
{
"code" : "Duration"
},
{
"code" : "HumanName"
},
{
"code" : "Identifier"
},
{
"code" : "Money"
},
{
"code" : "Period"
},
{
"code" : "Quantity"
},
{
"code" : "Range"
},
{
"code" : "Ratio"
},
{
"code" : "Reference"
},
{
"code" : "SampledData"
},
{
"code" : "Signature"
},
{
"code" : "Timing"
},
{
"code" : "Meta"
}
],
"condition" : [
"ele-1",
"inv-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter.resource",
"path" : "Parameters.parameter.resource",
"short" : "If parameter is a whole resource",
"definition" : "If the parameter is a whole resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.resource",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Resource"
}
],
"condition" : [
"inv-1"
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
}
]
},
{
"id" : "Parameters.parameter.part",
"path" : "Parameters.parameter.part",
"short" : "Named part of a multi-part parameter",
"definition" : "A named part of a multi-part parameter.",
"comment" : "Only one level of nested parameters is allowed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Parameters.parameter.part",
"min" : 0,
"max" : "*"
},
"contentReference" : "#Parameters.parameter",
"isSummary" : true
},
{
"id" : "Parameters.parameter:patient",
"path" : "Parameters.parameter",
"sliceName" : "patient",
"short" : "NHS Number",
"definition" : "The NHS Number of the patient who the referral being created is for.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "inv-1",
"severity" : "error",
"human" : "A parameter must have only one of (value, resource, part)",
"expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:patient.id",
"path" : "Parameters.parameter.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:patient.extension",
"path" : "Parameters.parameter.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional Content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:patient.modifierExtension",
"path" : "Parameters.parameter.modifierExtension",
"short" : "Extensions that cannot be ignored",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:patient.name",
"path" : "Parameters.parameter.name",
"short" : "Name from the definition",
"definition" : "The name of the parameter (reference to the operation definition).",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.name",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"fixedString" : "patient",
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:patient.valueIdentifier:valueIdentifier",
"path" : "Parameters.parameter.valueIdentifier",
"sliceName" : "valueIdentifier",
"short" : "If parameter is a data type",
"definition" : "If the parameter is a data type.",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Identifier"
}
],
"condition" : [
"ele-1",
"inv-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:patient.resource",
"path" : "Parameters.parameter.resource",
"short" : "If parameter is a whole resource",
"definition" : "If the parameter is a whole resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.resource",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Resource"
}
],
"condition" : [
"inv-1"
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
}
]
},
{
"id" : "Parameters.parameter:patient.part",
"path" : "Parameters.parameter.part",
"short" : "Named part of a multi-part parameter",
"definition" : "A named part of a multi-part parameter.",
"comment" : "Only one level of nested parameters is allowed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Parameters.parameter.part",
"min" : 0,
"max" : "*"
},
"contentReference" : "#Parameters.parameter",
"isSummary" : true
},
{
"id" : "Parameters.parameter:referringClinician",
"path" : "Parameters.parameter",
"sliceName" : "referringClinician",
"short" : "Referring Clinician",
"definition" : "Required if and only if the logged in user has a role of Referring Clinician Admin.\r\n\r\nFormat: ^[0-9]{12}$",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "inv-1",
"severity" : "error",
"human" : "A parameter must have only one of (value, resource, part)",
"expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:referringClinician.id",
"path" : "Parameters.parameter.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:referringClinician.extension",
"path" : "Parameters.parameter.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional Content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:referringClinician.modifierExtension",
"path" : "Parameters.parameter.modifierExtension",
"short" : "Extensions that cannot be ignored",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:referringClinician.name",
"path" : "Parameters.parameter.name",
"short" : "Name from the definition",
"definition" : "The name of the parameter (reference to the operation definition).",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.name",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"fixedString" : "referringClinician",
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:referringClinician.valueIdentifier:valueIdentifier",
"path" : "Parameters.parameter.valueIdentifier",
"sliceName" : "valueIdentifier",
"short" : "If parameter is a data type",
"definition" : "If the parameter is a data type.",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Identifier"
}
],
"condition" : [
"ele-1",
"inv-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:referringClinician.resource",
"path" : "Parameters.parameter.resource",
"short" : "If parameter is a whole resource",
"definition" : "If the parameter is a whole resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.resource",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Resource"
}
],
"condition" : [
"inv-1"
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
}
]
},
{
"id" : "Parameters.parameter:referringClinician.part",
"path" : "Parameters.parameter.part",
"short" : "Named part of a multi-part parameter",
"definition" : "A named part of a multi-part parameter.",
"comment" : "Only one level of nested parameters is allowed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Parameters.parameter.part",
"min" : 0,
"max" : "*"
},
"contentReference" : "#Parameters.parameter",
"isSummary" : true
},
{
"id" : "Parameters.parameter:contentSensitive",
"path" : "Parameters.parameter",
"sliceName" : "contentSensitive",
"short" : "Content Sensitive",
"definition" : "An indication of whether the referral is to be marked as ‘Sensitive’. If True, then users with non-clinical roles (e.g. Referring Admins and Service Provider Admin) will not be able to view the referral details.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "inv-1",
"severity" : "error",
"human" : "A parameter must have only one of (value, resource, part)",
"expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:contentSensitive.id",
"path" : "Parameters.parameter.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:contentSensitive.extension",
"path" : "Parameters.parameter.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional Content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:contentSensitive.modifierExtension",
"path" : "Parameters.parameter.modifierExtension",
"short" : "Extensions that cannot be ignored",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:contentSensitive.name",
"path" : "Parameters.parameter.name",
"short" : "Name from the definition",
"definition" : "The name of the parameter (reference to the operation definition).",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.name",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"fixedString" : "contentSensitive",
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:contentSensitive.valueBoolean:valueBoolean",
"path" : "Parameters.parameter.valueBoolean",
"sliceName" : "valueBoolean",
"short" : "If parameter is a data type",
"definition" : "If the parameter is a data type.",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "boolean"
}
],
"condition" : [
"ele-1",
"inv-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:contentSensitive.resource",
"path" : "Parameters.parameter.resource",
"short" : "If parameter is a whole resource",
"definition" : "If the parameter is a whole resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.resource",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Resource"
}
],
"condition" : [
"inv-1"
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
}
]
},
{
"id" : "Parameters.parameter:contentSensitive.part",
"path" : "Parameters.parameter.part",
"short" : "Named part of a multi-part parameter",
"definition" : "A named part of a multi-part parameter.",
"comment" : "Only one level of nested parameters is allowed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Parameters.parameter.part",
"min" : 0,
"max" : "*"
},
"contentReference" : "#Parameters.parameter",
"isSummary" : true
},
{
"id" : "Parameters.parameter:shortlist",
"path" : "Parameters.parameter",
"sliceName" : "shortlist",
"short" : "List of Services",
"definition" : "A list of 1 to 20 services that will form the shortlist for the referral.\r\n\r\nThe patient will be able to book an appointment at any of these services.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "inv-1",
"severity" : "error",
"human" : "A parameter must have only one of (value, resource, part)",
"expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:shortlist.id",
"path" : "Parameters.parameter.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:shortlist.extension",
"path" : "Parameters.parameter.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional Content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:shortlist.modifierExtension",
"path" : "Parameters.parameter.modifierExtension",
"short" : "Extensions that cannot be ignored",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:shortlist.name",
"path" : "Parameters.parameter.name",
"short" : "Name from the definition",
"definition" : "The name of the parameter (reference to the operation definition).",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.name",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"fixedString" : "shortlist",
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:shortlist.valueReference:valueReference",
"path" : "Parameters.parameter.valueReference",
"sliceName" : "valueReference",
"short" : "If parameter is a data type",
"definition" : "If the parameter is a data type.",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "0",
"base" : {
"path" : "Parameters.parameter.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Reference"
}
],
"condition" : [
"ele-1",
"inv-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:shortlist.resource",
"path" : "Parameters.parameter.resource",
"short" : "Include the List resource to list the HealthcareServices.",
"definition" : "The List resource has been profiled as:\r\n\r\nhttps://fhir.nhs.uk/STU3/StructureDefinition/eRS-CreateReferralShortlist-List-1",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.resource",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Resource"
}
],
"condition" : [
"inv-1"
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
}
]
},
{
"id" : "Parameters.parameter:shortlist.part",
"path" : "Parameters.parameter.part",
"short" : "Named part of a multi-part parameter",
"definition" : "A named part of a multi-part parameter.",
"comment" : "Only one level of nested parameters is allowed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Parameters.parameter.part",
"min" : 0,
"max" : "*"
},
"contentReference" : "#Parameters.parameter",
"isSummary" : true
},
{
"id" : "Parameters.parameter:unaccreditedComment",
"path" : "Parameters.parameter",
"sliceName" : "unaccreditedComment",
"short" : "Unaccredited Comment",
"definition" : "An explanation of the reason why the user decided to shortlist an ‘unaccredited’ service, thus overriding the referrer rights rules that had been set for that service.\r\n\r\nRequired if and only if the shortlist contains one or more ‘unaccredited’ services.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "inv-1",
"severity" : "error",
"human" : "A parameter must have only one of (value, resource, part)",
"expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:unaccreditedComment.id",
"path" : "Parameters.parameter.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:unaccreditedComment.extension",
"path" : "Parameters.parameter.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional Content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:unaccreditedComment.modifierExtension",
"path" : "Parameters.parameter.modifierExtension",
"short" : "Extensions that cannot be ignored",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:unaccreditedComment.name",
"path" : "Parameters.parameter.name",
"short" : "Name from the definition",
"definition" : "The name of the parameter (reference to the operation definition).",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.name",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"fixedString" : "unaccreditedComment",
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:unaccreditedComment.valueString:valueString",
"path" : "Parameters.parameter.valueString",
"sliceName" : "valueString",
"short" : "If parameter is a data type",
"definition" : "If the parameter is a data type.",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1",
"inv-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:unaccreditedComment.resource",
"path" : "Parameters.parameter.resource",
"short" : "If parameter is a whole resource",
"definition" : "If the parameter is a whole resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.resource",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Resource"
}
],
"condition" : [
"inv-1"
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
}
]
},
{
"id" : "Parameters.parameter:unaccreditedComment.part",
"path" : "Parameters.parameter.part",
"short" : "Named part of a multi-part parameter",
"definition" : "A named part of a multi-part parameter.",
"comment" : "Only one level of nested parameters is allowed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Parameters.parameter.part",
"min" : 0,
"max" : "*"
},
"contentReference" : "#Parameters.parameter",
"isSummary" : true
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays",
"path" : "Parameters.parameter",
"sliceName" : "firstReminderFollowUpDays",
"short" : "First Reminder Letter Follow Up Days",
"definition" : "If > 0, the system will send an automated letter to the patient after the number of days stated, if the patient hasn’t yet booked an appointment.\r\nIf = 0, the system will not send reminder letters for this referral.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "inv-1",
"severity" : "error",
"human" : "A parameter must have only one of (value, resource, part)",
"expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays.id",
"path" : "Parameters.parameter.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays.extension",
"path" : "Parameters.parameter.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional Content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays.modifierExtension",
"path" : "Parameters.parameter.modifierExtension",
"short" : "Extensions that cannot be ignored",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays.name",
"path" : "Parameters.parameter.name",
"short" : "Name from the definition",
"definition" : "The name of the parameter (reference to the operation definition).",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.name",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"fixedString" : "firstReminderFollowUpDays",
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays.valueUnsignedInt:valueUnsignedInt",
"path" : "Parameters.parameter.valueUnsignedInt",
"sliceName" : "valueUnsignedInt",
"short" : "If parameter is a data type",
"definition" : "If the parameter is a data type.",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "unsignedInt"
}
],
"condition" : [
"ele-1",
"inv-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays.resource",
"path" : "Parameters.parameter.resource",
"short" : "If parameter is a whole resource",
"definition" : "If the parameter is a whole resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.resource",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Resource"
}
],
"condition" : [
"inv-1"
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
}
]
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays.part",
"path" : "Parameters.parameter.part",
"short" : "Named part of a multi-part parameter",
"definition" : "A named part of a multi-part parameter.",
"comment" : "Only one level of nested parameters is allowed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Parameters.parameter.part",
"min" : 0,
"max" : "*"
},
"contentReference" : "#Parameters.parameter",
"isSummary" : true
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter",
"path" : "Parameters.parameter",
"sliceName" : "intentionToAddReferralLetter",
"short" : "Intention to add Referral",
"definition" : "Intention to add Referral.",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "inv-1",
"severity" : "error",
"human" : "A parameter must have only one of (value, resource, part)",
"expression" : "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))",
"xpath" : "exists(f:value) or exists(f:resource) and not(exists(f:value) and exists(f:resource))"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter.id",
"path" : "Parameters.parameter.id",
"representation" : [
"xmlAttr"
],
"short" : "xml:id (or equivalent in JSON)",
"definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Element.id",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter.extension",
"path" : "Parameters.parameter.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"description" : "Extensions are always sliced by (at least) url",
"rules" : "open"
},
"short" : "Additional Content defined by implementations",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "Element.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter.modifierExtension",
"path" : "Parameters.parameter.modifierExtension",
"short" : "Extensions that cannot be ignored",
"definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
"comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias" : [
"extensions",
"user content",
"modifiers"
],
"min" : 0,
"max" : "*",
"base" : {
"path" : "BackboneElement.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
},
{
"key" : "ext-1",
"severity" : "error",
"human" : "Must have either extensions or value[x], not both",
"expression" : "extension.exists() != value.exists()",
"xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"
}
],
"isModifier" : true,
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "rim",
"map" : "N/A"
}
]
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter.name",
"path" : "Parameters.parameter.name",
"short" : "Name from the definition",
"definition" : "The name of the parameter (reference to the operation definition).",
"comment" : "Note that FHIR strings may not exceed 1MB in size",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.name",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"fixedString" : "intentionToAddReferralLetter",
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter.valueCoding:valueCoding",
"path" : "Parameters.parameter.valueCoding",
"sliceName" : "valueCoding",
"short" : "If parameter is a data type",
"definition" : "If the parameter is a data type.",
"comment" : "A stream of bytes, base64 encoded",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.value[x]",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Coding"
}
],
"condition" : [
"ele-1",
"inv-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "All FHIR elements must have a @value or children",
"expression" : "hasValue() | (children().count() > id.count())",
"xpath" : "@value|f:*|h:div"
}
],
"isSummary" : true,
"binding" : {
"strength" : "required",
"description" : "Intention to add Referral",
"valueSetReference" : {
"reference" : "https://fhir.nhs.uk/STU3/ValueSet/eRS-ReferralLetterIntention"
}
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
}
]
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter.resource",
"path" : "Parameters.parameter.resource",
"short" : "If parameter is a whole resource",
"definition" : "If the parameter is a whole resource.",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Parameters.parameter.resource",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Resource"
}
],
"condition" : [
"inv-1"
],
"isSummary" : true,
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
}
]
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter.part",
"path" : "Parameters.parameter.part",
"short" : "Named part of a multi-part parameter",
"definition" : "A named part of a multi-part parameter.",
"comment" : "Only one level of nested parameters is allowed.",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Parameters.parameter.part",
"min" : 0,
"max" : "*"
},
"contentReference" : "#Parameters.parameter",
"isSummary" : true
}
]
},
"differential" : {
"element" : [
{
"id" : "Parameters",
"path" : "Parameters",
"definition" : "Create Referral endpoint parameters."
},
{
"id" : "Parameters.parameter",
"path" : "Parameters.parameter",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "name"
}
],
"rules" : "closed"
}
},
{
"id" : "Parameters.parameter:patient",
"path" : "Parameters.parameter",
"sliceName" : "patient",
"short" : "NHS Number",
"definition" : "The NHS Number of the patient who the referral being created is for.",
"min" : 1,
"max" : "1"
},
{
"id" : "Parameters.parameter:patient.name",
"path" : "Parameters.parameter.name",
"fixedString" : "patient"
},
{
"id" : "Parameters.parameter:patient.valueIdentifier:valueIdentifier",
"path" : "Parameters.parameter.valueIdentifier",
"sliceName" : "valueIdentifier",
"type" : [
{
"code" : "Identifier"
}
]
},
{
"id" : "Parameters.parameter:referringClinician",
"path" : "Parameters.parameter",
"sliceName" : "referringClinician",
"short" : "Referring Clinician",
"definition" : "Required if and only if the logged in user has a role of Referring Clinician Admin.\r\n\r\nFormat: ^[0-9]{12}$",
"max" : "1"
},
{
"id" : "Parameters.parameter:referringClinician.name",
"path" : "Parameters.parameter.name",
"fixedString" : "referringClinician"
},
{
"id" : "Parameters.parameter:referringClinician.valueIdentifier:valueIdentifier",
"path" : "Parameters.parameter.valueIdentifier",
"sliceName" : "valueIdentifier",
"type" : [
{
"code" : "Identifier"
}
]
},
{
"id" : "Parameters.parameter:contentSensitive",
"path" : "Parameters.parameter",
"sliceName" : "contentSensitive",
"short" : "Content Sensitive",
"definition" : "An indication of whether the referral is to be marked as ‘Sensitive’. If True, then users with non-clinical roles (e.g. Referring Admins and Service Provider Admin) will not be able to view the referral details.",
"min" : 1,
"max" : "1"
},
{
"id" : "Parameters.parameter:contentSensitive.name",
"path" : "Parameters.parameter.name",
"fixedString" : "contentSensitive"
},
{
"id" : "Parameters.parameter:contentSensitive.valueBoolean:valueBoolean",
"path" : "Parameters.parameter.valueBoolean",
"sliceName" : "valueBoolean",
"type" : [
{
"code" : "boolean"
}
]
},
{
"id" : "Parameters.parameter:shortlist",
"path" : "Parameters.parameter",
"sliceName" : "shortlist",
"short" : "List of Services",
"definition" : "A list of 1 to 20 services that will form the shortlist for the referral.\r\n\r\nThe patient will be able to book an appointment at any of these services.",
"min" : 1,
"max" : "1"
},
{
"id" : "Parameters.parameter:shortlist.name",
"path" : "Parameters.parameter.name",
"fixedString" : "shortlist"
},
{
"id" : "Parameters.parameter:shortlist.valueReference:valueReference",
"path" : "Parameters.parameter.valueReference",
"sliceName" : "valueReference",
"max" : "0",
"type" : [
{
"code" : "Reference"
}
]
},
{
"id" : "Parameters.parameter:shortlist.resource",
"path" : "Parameters.parameter.resource",
"short" : "Include the List resource to list the HealthcareServices.",
"definition" : "The List resource has been profiled as:\r\n\r\nhttps://fhir.nhs.uk/STU3/StructureDefinition/eRS-CreateReferralShortlist-List-1"
},
{
"id" : "Parameters.parameter:unaccreditedComment",
"path" : "Parameters.parameter",
"sliceName" : "unaccreditedComment",
"short" : "Unaccredited Comment",
"definition" : "An explanation of the reason why the user decided to shortlist an ‘unaccredited’ service, thus overriding the referrer rights rules that had been set for that service.\r\n\r\nRequired if and only if the shortlist contains one or more ‘unaccredited’ services.",
"max" : "1"
},
{
"id" : "Parameters.parameter:unaccreditedComment.name",
"path" : "Parameters.parameter.name",
"fixedString" : "unaccreditedComment"
},
{
"id" : "Parameters.parameter:unaccreditedComment.valueString:valueString",
"path" : "Parameters.parameter.valueString",
"sliceName" : "valueString",
"type" : [
{
"code" : "string"
}
]
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays",
"path" : "Parameters.parameter",
"sliceName" : "firstReminderFollowUpDays",
"short" : "First Reminder Letter Follow Up Days",
"definition" : "If > 0, the system will send an automated letter to the patient after the number of days stated, if the patient hasn’t yet booked an appointment.\r\nIf = 0, the system will not send reminder letters for this referral.",
"min" : 1,
"max" : "1"
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays.name",
"path" : "Parameters.parameter.name",
"fixedString" : "firstReminderFollowUpDays"
},
{
"id" : "Parameters.parameter:firstReminderFollowUpDays.valueUnsignedInt:valueUnsignedInt",
"path" : "Parameters.parameter.valueUnsignedInt",
"sliceName" : "valueUnsignedInt",
"type" : [
{
"code" : "unsignedInt"
}
]
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter",
"path" : "Parameters.parameter",
"sliceName" : "intentionToAddReferralLetter",
"short" : "Intention to add Referral",
"definition" : "Intention to add Referral.",
"min" : 1,
"max" : "1"
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter.name",
"path" : "Parameters.parameter.name",
"fixedString" : "intentionToAddReferralLetter"
},
{
"id" : "Parameters.parameter:intentionToAddReferralLetter.valueCoding:valueCoding",
"path" : "Parameters.parameter.valueCoding",
"sliceName" : "valueCoding",
"type" : [
{
"code" : "Coding"
}
],
"binding" : {
"strength" : "required",
"description" : "Intention to add Referral",
"valueSetReference" : {
"reference" : "https://fhir.nhs.uk/STU3/ValueSet/eRS-ReferralLetterIntention"
}
}
}
]
},
"text" : {
}
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.